#include <stdio.h>
#include "mystring.h"
void main()
{
    mystring obj;
    // init_string(&obj,"helloworld");
    // print(&obj);
    // size(&obj);
    // printf("%d\n",size(&obj));
    // mystring obj1;
    // init_string(&obj1,"hello");
    // printf("isequal:%d\n",isequal(&obj,&obj1));
    // printf("iscontains:%d\n",iscontains(&obj,&obj1));
    // removestring(&obj1,"ll");
    // print(&obj1);
    // insertstring(&obj," qqqq ",5);
    // print(&obj);
    // printf("%c\n",*atindex(&obj,1));
    // init_string(obj,"helloworld");
    // obj.print(&obj);
    Init_string(&obj,"12344.23");
    int b=obj.toint(&obj);
    printf("%d\n",b);
    float c=obj.todouble(&obj);
    printf("%f\n",c);
}